package fr.vvins.core.biz.user.dto;

import java.io.Serializable;

import fr.vvins.core.biz.catalog.dto.ProductDto;
import fr.vvins.core.biz.catalog.dto.ProductDtoInfo;
import fr.vvins.core.biz.catalog.dto.VigneronDto;
import fr.vvins.core.biz.catalog.dto.VigneronDtoInfo;
import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.user.entity.Favorite;



/**
 * Favorite entity
 */
@Dto(name="Favorite", entity=Favorite.class)
public class FavoriteDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = -2302974740707092132L;
	private VigneronDtoInfo vigneron;
	private ProductDtoInfo product;

	public FavoriteDto() {
	}
	
	public FavoriteDto(UserDto user, VigneronDtoInfo vigneron, ProductDtoInfo product) {
		super();
		this.vigneron = vigneron;
		this.product = product;
	}

	public VigneronDtoInfo getVigneron() {
		return vigneron;
	}

	public void setVigneron(VigneronDtoInfo vigneron) {
		this.vigneron = vigneron;
	}

	public ProductDtoInfo getProduct() {
		return product;
	}

	public void setProduct(ProductDtoInfo product) {
		this.product = product;
	}

	
}
